


import org.w3c.dom.Node;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Tomasz
 */
  public class xml_node_container
  {
      Node node;
      int depth;

        public int getDepth() {
            return depth;
        }
      boolean is_multinode;
      boolean is_just_parrent;
        public void setIs_multinode() {
            this.is_multinode = true;
        }

        public void setIs_just_parrent() {
            this.is_just_parrent = true;
        }
  
      xml_node_container(Node n, int d) 
      {
          node = n;
          depth = d;
          is_multinode = false;
          is_just_parrent = false;
      }
      xml_node_container(Node n, int d, boolean p) 
      {
          node = n;
          depth = d;
          is_multinode = false;
          is_just_parrent = p;
      }
  
  }
